package com.itheima.edu.info.manager.day5;

import java.math.BigDecimal;

public class Test11 {
    public static void main(String[] args) {
        BigDecimal bd=new BigDecimal("2");
        BigDecimal bd2=new BigDecimal("1");
        BigDecimal add = bd.add(bd2);
        BigDecimal subtract = bd.subtract(bd2);
        BigDecimal multiply = bd.multiply(bd2);
        BigDecimal divide = bd.divide(bd2);
        System.out.println(add);
        System.out.println(subtract);
        System.out.println(multiply);
        System.out.println(divide);
    }
}
